<!DOCTYPE HTML>
<!--[if lt IE 7]> <html dir="ltr" lang="zh-cn" id="ie6"> <![endif]-->
<!--[if IE 7]>    <html dir="ltr" lang="zh-cn" id="ie7"> <![endif]-->
<!--[if IE 8]>    <html dir="ltr" lang="zh-cn" id="ie8"> <![endif]-->
<!--[if gt IE 8]><!-->
<html dir="ltr" lang="zh-cn">
<!--<![endif]-->
<head>
  <title>{$strPageTitle}</title>
  <meta charset="{CHARSET}">
  <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
  <meta name="renderer" content="webkit">
  <meta name="keywords" content="{$strPageKeyword}">
  <meta name="description" content="{$strPageDescription}">
  <meta name="generator" content="曲率驱动出品专业威客{KEKE_VERSION}" />
  <meta name="viewport" content="width=device-width,initial-scale=1 ,user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style” content=black" />
  <meta name="author" content="kekezu" />
  <meta name="copyright" content="{$basic_config['copyright']}" />
  <meta property="qc:admins" content="1220311574763007636" />
  <meta property="wb:webmaster" content="6b685cd5f06ba5f1" />
  <link rel="shortcut icon" href="favicon.ico" />
  <link rel="apple-touch-icon" href="favicon.ico" />
    <link rel="stylesheet" type="text/css" href="/style/css/global.css"/>
  <link rel="stylesheet" type="text/css" href="/style/css/public.css"/>
  <link rel="stylesheet" type="text/css" href="style/css/denglu.css" />
<!--[if lt IE 9]>
    <script src="static/js/html5.js" type="text/javascript"></script>
    <script src="static/js/respond.min.js" type="text/javascript"></script>
<![endif]-->

<script src="static/js/jquery.min.js"></script>
<script src="static/js/bootstrap.min.js"></script>
<script src="static/js/jquery.form.js"></script>
<script src="static/js/jquery.lazyload.js"></script>
<script src="static/js/bootstrap-datetimepicker.js"></script>
<script src="static/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="static/js/sco.confirm.js"></script>
<script src="static/js/sco.modal.js"></script>
<script src="static/js/sco.valid.js"></script>
<script src="static/js/holder.min.js"></script>
<script src="static/js/model/common/base.js"></script>
<script src="static/js/jquery.bgiframe.pack.js"></script>
<script src="static/js/jqplugins/jscroll/jquery.mousewheel.js"></script>
<script src="static/js/jqplugins/jscroll/jquery.jscrollpane.min.js"></script>
<script src="static/js/jquery.placeholder-enhanced.min.js" type="text/javascript"></script>

<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=HlkMGAhFgon122p5ucBmnoEG"></script>

<!-- js超酷消息警告框插件  -->
<script type="text/javascript" src="static/js/swal/js/sweet-alert.min.js?r={RANDOM_PARA}"></script>

<!--[if IE 7]>
<link rel="stylesheet" href="tpl/default/css/font-awesome-ie7.min.css">
<link href="tpl/default/css/ie7.css" rel="stylesheet" type="text/css">
<![endif]-->

<!--[if IE 8]>
  <link href="tpl/default/css/ie8.css" rel="stylesheet" type="text/css">
  <script src="static/js/IE8.js" type="text/javascript"></script>
<![endif]-->
  <script type="text/javascript">
  var SITEURL = '{$_K[siteurl]}',
    SKIN_PATH = '{SKIN_PATH}',
    LANG = '{$language}',
    INDEX = '{$do}',
    CHARSET = '{CHARSET}';

  function closeErrors() {
    return true;
  }
  window.onerror = closeErrors;
  </script>
</head>

<body id="{$do}">
 <div class="top_logo"><div class="l_logo"><a href="{$_K[siteurl]}/"><img src="{$strWebLogo}" alt="{$_K[sitename]}注册页面" width="180px;" height="65px;"/></a></div> <span>欢迎注册</span><div class="clear"></div>
</div> 
 





<div class="container">

<div class="col-sm-5 col-xs-12">
<div class="login-and-register-container show-{$do}">

  <div class="register-box">
    <div class="page-header">
      <div class="pull-right">或 <a id="login-link" href="index.php?do=login" rel="show-login">登录</a></div>
     注册 
    </div>

    <form role="form" action="index.php?do=register" name="registerForm" id="registerForm" method="post">
      <input type="hidden" name="formhash" id="formhash" value="{FORMHASH}">
      <input type="hidden" name="hdn_refer" id="hdn_refer" value="{$_K['refer']}">
	  <div class="form-group">
        <label class="sr-only" for="exampleInputId">帐号</label>
        <input type="text" class="form-control" id="account" name="account" placeholder="账号"  onkeyup="clearspecial(this);">
      </div>

      <div class="form-group">
        <label class="sr-only" for="exampleInputPassword1">密码</label>
        <input type="password" class="form-control" name="password" id="password" placeholder="密码" onKeyup="pwStrength(this.value)">
      </div>
      
      <div class="form-group">
        <label class="sr-only" for="exampleInputPassword2">确认密码</label>
        <input type="password" class="form-control" name="confirmPassword" id="confirmPassword" placeholder="确认密码">
      </div>
	  <div class="form-group">
        <label class="sr-only" for="exampleInputName">邮箱</label>
        <input type="text" class="form-control" name="email" id="email" placeholder="邮箱">
      </div>
      <div class="form-group clearfix code-group">
        <label class="sr-only" for="exampleInputCode"></label>
        <div class="col-xs-3">
          <input type="text" class="form-control" id="code" name="code" placeholder="验证码" value="" >
        </div>
        <div class="col-xs-9 code-img" id="show_secode_menu_content">
         <img id="secode_img" src="index.php?do=ajax&view=captcha" onclick="change();document.getElementById('secode_img').src='index.php?do=ajax&view=captcha&sid='+Math.random(); return false;">
         <a class="font14" href="javascript:change();javascript:document.getElementById('secode_img').src='index.php?do=ajax&view=captcha&sid='+Math.random();void(0);" >换一组</a>
        <div class="clear"></div>
        
        </div>
      </div>
      
      <div class="form-group checkbox">
        <label>
          <input type="checkbox"  name="agree" id="agree" value="1" checked="checked"> 我同意 <a href="index.php?do=single&id=312" target="_blank">《服务条款》</a>
        </label>
      </div>
      
      <div class="form-group text-center">
        <button type="submit" class="btn btn-primary btn-block">注册</button>
        <span class="text-success" id="tipsUser"></span>
      </div>
    </form>


  </div><!-- register-box end -->


</div><!-- login-and-register-container end -->

{if $api_open}
<div class="login-and-register-footer">
  <p>第三方登录：
  	{loop $api_open $k $v}
	{if $weibo_list[$k.'_app_id']}
    <a href="control/oauth_request.php?type={$k}" title="{$api_name[$k]['name']}"><img src="static/img/oauth2.0/16/{$k}.png" alt="{$api_name[$k]['name']}"></a>
	 {/if}
	{/loop}
  </p>
</div>
{/if}
<!-- modal-footer end -->
</div><!-- col-xs-5 end -->

</div>
<script type="text/javascript" src="static/js/model/register/register.js"></script>
<script type="text/javascript">
function change(){
	$("#code").val("");
}
function clearspecial(inputobj){
	inputobj.value = inputobj.value.replace(/[^a-z\d\u4e00-\u9fa5]/ig, '');
}

function checkStrong(sPW){
	//if (sPW.length < 3){
		//Modes=1;
	//}else{
		var pwLength = 	sPW.length;
		  var patEn = /[a-zA-Z]/;
		  var patnum = /[0-9]/;
		  var speChar = /[`~!@#$\^&\*\(\)=\|{}':;',\/\?\[\]\.<>]/;
		  var isEn = patEn.test(sPW);
		  var isNum = patnum.test(sPW);
		  var isSpe = speChar.test(sPW);
		  Modes = getStrong(isEn,isNum,isSpe,pwLength);

	//}
	 return Modes;
}

function getStrong (isEn,isNum,isSpe,pwLength){
	if (isEn && isNum && isSpe && (pwLength>6)){
		var setModes = 3;
	}else{
		var setModes = 2;
		if((isEn && isNum)||(isNum && isSpe)||(isEn&&isSpe)){
			var setModes = 2;
		}else{
			var setModes = 1;
		}
	}
	return setModes;
}

function pwStrength(pwd){
  if (pwd==null||pwd==""){
  	S_level = 0;
  } else{
	  S_level=checkStrong(pwd);
	  $("#pwdStrength span:lt("+S_level+")").addClass('selected');
	  $("#pwdStrength span:gt("+(S_level-1)+")").removeClass('selected');
  }

}
</script>
<div class="banquan"> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span> <a rel="nofollow" href="#" target="_blank">关于我们</a><span class="split">|</span><br/>
  <a rel="nofollow" href="#" target="_blank">Copyright 2005-2016 zbj.com 版权所有 渝ICP备10202274-1号 渝B2-20080005</a> <br/>
 </div>
<div class="banquan">
  <ul>
    <li><img src="/style/img/jgou (1).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (2).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (3).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (4).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (5).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (6).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (7).png" alt="可信网站" /></li>
    <li><img src="/style/img/jgou (8).png" alt="可信网站" /></li>
  </ul>
</div>
